package main

func main() {
	//1.获取电影评论列表
	/**
	where := make(map[string]interface{})
	where["c_id"] = 2
	page := 1
	limit := 1
	comms := model.GetCommentList(where,page,limit)
	fmt.Println(comms)
	*/
	//2.添加电影评论
	/**
	Insert := model.MoveComment{
		MoveId:12,
		UserId:2,
		HearImg:"123123",
		NickName:"ASDF",
		Content:"WRETWERT",
		Score:3,
		Likes:12,
		Items:"",
		CreateTime:1192345678,
	}
	rs := model.InsertComment(Insert)
	fmt.Println(rs)
	*/
	//3.获取电影列表
	/**
	where := model.Moves{
		GetInfo:1,
		IsUnique:1,
	}
	field := "id,dou_id,move_name"
	res := model.GetMoveList(where,1,2,field)
	*/
}
